runtime.scase.elem (field)
32 uses
runtime (current package)
select.go#L21: elem unsafe.Pointer // data element
select.go#L172: cas.elem = nil // allow GC
select.go#L303: sg.elem = cas.elem
select.go#L396: raceReadObjectPC(c.elemtype, cas.elem, casePC(casi), chansendpc)
select.go#L397: } else if cas.elem != nil {
select.go#L398: raceWriteObjectPC(c.elemtype, cas.elem, casePC(casi), chanrecvpc)
select.go#L403: msanread(cas.elem, c.elemtype.Size_)
select.go#L404: } else if cas.elem != nil {
select.go#L405: msanwrite(cas.elem, c.elemtype.Size_)
select.go#L410: asanread(cas.elem, c.elemtype.Size_)
select.go#L411: } else if cas.elem != nil {
select.go#L412: asanwrite(cas.elem, c.elemtype.Size_)
select.go#L422: if cas.elem != nil {
select.go#L423: raceWriteObjectPC(c.elemtype, cas.elem, casePC(casi), chanrecvpc)
select.go#L427: if msanenabled && cas.elem != nil {
select.go#L428: msanwrite(cas.elem, c.elemtype.Size_)
select.go#L430: if asanenabled && cas.elem != nil {
select.go#L431: asanwrite(cas.elem, c.elemtype.Size_)
select.go#L435: if cas.elem != nil {
select.go#L436: typedmemmove(c.elemtype, cas.elem, qp)
select.go#L451: raceReadObjectPC(c.elemtype, cas.elem, casePC(casi), chansendpc)
select.go#L454: msanread(cas.elem, c.elemtype.Size_)
select.go#L457: asanread(cas.elem, c.elemtype.Size_)
select.go#L459: typedmemmove(c.elemtype, chanbuf(c, c.sendx), cas.elem)
select.go#L470: recv(c, sg, cas.elem, func() { selunlock(scases, lockorder) }, 2)
select.go#L481: if cas.elem != nil {
select.go#L482: typedmemclr(c.elemtype, cas.elem)
select.go#L492: raceReadObjectPC(c.elemtype, cas.elem, casePC(casi), chansendpc)
select.go#L495: msanread(cas.elem, c.elemtype.Size_)
select.go#L498: asanread(cas.elem, c.elemtype.Size_)
select.go#L500: send(c, sg, cas.elem, func() { selunlock(scases, lockorder) }, 2)
select.go#L564: sel[j] = scase{c: rc.ch, elem: rc.val}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |